package com.yboot.starter.common.core.security;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
public class SecurityUserVO implements Serializable {

    private String userId;

    private String username;

    private String tenantId;

    public SecurityUserVO(String userId, String username, String tenantId) {
        this.userId = userId;
        this.username = username;
        this.tenantId = tenantId;
    }

    public SecurityUserVO(String username) {
        this.username = username;
    }

    public SecurityUserVO() {
    }
}
